<?php
	$conn=new mysqli('localhost','root','root','group_9');
	if($conn->connect_error){
		die('connect failed'.$conn->connect_error);
	}else{
		echo '<p>connect successfully</p>';
	}
	$query='SELECT * FROM group_info order by id';
	$table=$conn->query($query); 

	while($arr=$table->fetch_array()){
	     echo "{$arr['id']}--{$arr['name']}--{$arr['age']}--{$arr['tel']}--{$arr['email']}--{$arr['qq']}".'<br />';
	}   


       
?>
